package com.xframe.domain.views.ui;

/**
 * @Description: 前端的删除标记枚举
 * @ClassName: FilterEnum
 * @Author: xufeng
 * @CreateTime: 2023/12/06
 **/
public enum FilterEnum {
    STATUS_FILTER("staticFilter");

    private final String name;

    FilterEnum(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static FilterEnum fromString(String value) {
        try {
            return valueOf(value.toUpperCase());
        } catch (IllegalArgumentException e) {
            return STATUS_FILTER;
        }
    }

}
